<?php 
require_once('Admin/Common/template/inc_admin.php');
?> 
<div id="content">
	<div class="inner" style="min-height:1200px;">           
		<div align=center>	
			<div class="container-fluid">
				<form class="form-horizontal" method="post" action="admin.php?c=news&m=addnews" enctype="multipart/form-data">	
					<h1><center>添加新闻</center></h1>





                  <div class="form-group">
						<label for="newstype" class=" control-label col-sm-offset-2 col-md-2 ">新闻类型</label>
						<div class="col-md-4">
							<select class="form-control" name="ntid" id="">
								<option value="1">政治新闻</option>	
								<option value="2">社会新闻</option>
								<option value="3">财经新闻</option>
								<option value="4">军事新闻</option>
								<option value="5">体育新闻</option>	
								<option value="6">娱乐新闻</option>	
							</select>
						</div>
					</div>

            		<div class="form-group">
						<label for="newsname" class=" control-label col-sm-offset-2 col-md-2 ">新闻标题</label>
						<div class="col-md-4">
							<input type="text" class="form-control" id="newsname" placeholder="新闻标题" name="newsname">
						</div>
					</div>


                          <div class="form-group">
						<label class=" control-label col-sm-offset-2 col-md-2 ">新闻图片</label>
						<div class="col-md-4">
							<input type="file" name="pic">	
						</div>
					    </div>


					
				   <div class="form-group">
						<label for="publishtime" class=" control-label col-sm-offset-2 col-md-2 ">上传时间</label>
						<div class="col-md-4">
							<input type="date" class="form-control" id="publishtime" name="publishtime">
						</div>
					</div>

					<div class="form-group">
						<label  for="exampleInputTextarea1" class=" col-md-2 col-sm-offset-2 control-label">新闻内容</label>
						<div class="col-md-4">
							<textarea class="form-control" cols="40" rows="3" id="exampleInputTextarea1" name="content"></textarea>
						</div>
					</div>
					

					<div class="form-group">
						<div class="col-sm-offset-3 col-sm-4"> <!-- 向右位移两个方格 -->
							<button type="submit" class="btn btn-success">添加</button>
							<button type="reset" class="btn btn-danger">重置</button>
						</div>
					</div>
				</form>
			</div>
		</div>      
	</div> 
</div> 
